﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace UniRlv.Update
{
    static class Program
    {
        public static string ToUpdatePath { get; set; }
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            if (args.Length>0)
            {
                ToUpdatePath = args[0];
            }
            else
            {
                ToUpdatePath = Application.ExecutablePath;
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }
    }
}
